package cn.driver.mapper;

import org.apache.ibatis.annotations.Param;

import cn.driver.domain.User;

public interface UserMapper {
	//查询用户名和密码
	User selectByUsernameAndPassword(@Param("username") String username,
			@Param("password")String mdPassword);
	//查询用户是否存在
	User selectUserByUsername(String username);
	//添加用户
	void registUser(@Param("username")String username,@Param("password")String mdPassword);
	//绑定
	String check(String userName);

}
